<?php
/**
 * Description tab
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     1.6.4
 */

global $woocommerce, $post;
?>

		<h2>Warranty &amp; Return Information</h2>
        
        <?php if (get_post_meta($post->ID, 'customwarrantytext', true)) { ?>
        	<?php $productwarrantytext = get_post_meta($post->ID, 'customwarrantytext', true); ?>
        	<p><?php echo $productwarrantytext ; ?>.</p>
        <?php } else { ?>
        	<?php $productwarrantylength = get_post_meta($post->ID, 'productwarranty', true); ?>
        	<p>This product is covered by our <?php echo $productwarrantylength ; ?> warranty.</p>
        <?php } ?>